package net.wofly.sale.commission.domain;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 订单佣金
 * @author lign
 * @version 1.0
 * @created 31-十二月-2017 10:39:55
 */
@Data
@Entity
@Table(name = "sale_commodity_ordercommission")
@ApiModel(description = "佣金配置")
public class OrderCommission {

	/**
	 * 佣金（以分为单位）
	 * <ol>
	 * 	<li>当前订单佣金数量</li>
	 * </ol>
	 */
	private Integer commission;
	/**
	 * 计算佣金时，使用的佣金配置。
	 */
	private String commissionCfgID;
	private Long modifyDate;
	@Id
	private String orderCommissionID;
	private String orderID;
	private String saleUserID;

	public OrderCommission(){

	}

}